package com.engineering.elink.domain;

import java.util.Date;

public class KeyWord {
    private Integer keyWordId;   //主键

    private String name;        //名称

    private Integer searchCount;   // 搜索次数
    
    private Date searchTime; //搜索时间
    
    /**
     * 类型（0视频1技能）
     */
    private Integer type;
    
    public KeyWord(){
    	
    }
    public KeyWord(String name,Integer searchCount,Integer type){
    	this.name=name;
    	this.searchCount=searchCount;
    	this.type=type;
    	this.searchTime=new Date();
    }

    public Integer getKeyWordId() {
        return keyWordId;
    }

    public void setKeyWordId(Integer keyWordId) {
        this.keyWordId = keyWordId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getSearchCount() {
        return searchCount;
    }

    public void setSearchCount(Integer searchCount) {
        this.searchCount = searchCount;
    }

	public Date getSearchTime() {
		return searchTime;
	}

	public void setSearchTime(Date searchTime) {
		this.searchTime = searchTime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}